package com.shisfish.library.Model;

import java.util.Date;

import com.shisfish.core.Model.Model;

public class BookLoan extends Model {

	private String isbn;
	private String loaner;
	private String loanid;
	private String remarks;
	private Date shouldCancelTime;
	private Date actualCancelTime;
	private int isRemind = 0;
	private Date remindTime = null;
	
	private User user;
	
	private Book book;
	
	private LoanRemind loanRemind;

	public BookLoan() {
		super();
	}

	public BookLoan(String isbn, String loaner, String loanid, String remarks,
			Date shouldCancelTime, Date actualCancelTime) {
		super();
		this.isbn = isbn;
		this.loaner = loaner;
		this.loanid = loanid;
		this.remarks = remarks;
		this.shouldCancelTime = shouldCancelTime;
		this.actualCancelTime = actualCancelTime;
	}

	public String getIsbn() {
		return isbn;
	}

	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}

	public String getLoaner() {
		return loaner;
	}

	public void setLoaner(String loaner) {
		this.loaner = loaner;
	}

	public String getLoanid() {
		return loanid;
	}

	public void setLoanid(String loanid) {
		this.loanid = loanid;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Date getShouldCancelTime() {
		return shouldCancelTime;
	}

	public void setShouldCancelTime(Date shouldCancelTime) {
		this.shouldCancelTime = shouldCancelTime;
	}

	public Date getActualCancelTime() {
		return actualCancelTime;
	}

	public void setActualCancelTime(Date actualCancelTime) {
		this.actualCancelTime = actualCancelTime;
	}

	public int getIsRemind() {
		return isRemind;
	}

	public void setIsRemind(int isRemind) {
		this.isRemind = isRemind;
	}

	public Date getRemindTime() {
		return remindTime;
	}

	public void setRemindTime(Date remindTime) {
		this.remindTime = remindTime;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	
	public Book getBook() {
		return book;
	}

	public void setBook(Book book) {
		this.book = book;
	}

	public LoanRemind getLoanRemind() {
		return loanRemind;
	}

	public void setLoanRemind(LoanRemind loanRemind) {
		this.loanRemind = loanRemind;
	}
	
	
}
